<?php

/*

Upgrade Tokens (upgrade_tokens.php)

*/

$page_title = "Upgrade Tokens";
$rank_check = 1;
include "header.inc.php";

print "$openHTML";

$findTokens = fetch("SELECT * FROM upgrade_tokens WHERE user = '$userid' AND game = '$game' AND upgrade = 'shop'");
if (!$findTokens[ammount]) { $findTokens[ammount] = 0; }

$findTokens2 = fetch("SELECT * FROM upgrade_tokens WHERE user = '$userid' AND game = '$game' AND upgrade = 'gallery'");
if (!$findTokens2[ammount]) { $findTokens2[ammount] = 0; }

ECHO <<<END

<p>Upgrade tokens are given out as very rare prizes. They are valid to upgrade either your shop or your gallery for free! Each token is good for one upgrade, you can hold onto it as long as you want (since it is more expensive later on, you may want to wait to use them!)</p>

<p align=center><font size=+2>You Currently Have:</font><br><font size=+1>$findTokens[ammount] Shop Tokens<br>$findTokens2[ammount] Gallery Tokens</font></p>

END;

print "$closeHTML";
?>